[body]
	<div id="point" rel="{p_id}" data-weight="{p_weight}">
		<div id="point_wrapper">
			<div id="point_main">
			  <div id="point_gallery">
			    {gallery}
				</div>
				<div id="point_name_line">
					<div id="point_name" class="aef" rel="name">{p_name}</div>
					<div id="point_likes">
						{socials}
						<!-- Place this anchor tag where you want the button to go -->
						<a href="https://foursquare.com/intent/venue.html" class="fourSq-widget" data-on-open="FS_onLoadSaveToWidget" data-vid="{p_fsid}">Save to Foursquare</a>

						<!-- Place this script somewhere after the anchor tag above. If you have multiple buttons, only include the script once. -->
						<script type='text/javascript'>
						  (function() {
						    window.___fourSq = {"vid":"{p_fsid}"};
						    var s = document.createElement('script');
						    s.type = 'text/javascript';
						    s.src = 'http://platform.foursquare.com/js/widgets.js';
						    s.async = true;
						    var ph = document.getElementsByTagName('script')[0];
						    ph.parentNode.insertBefore(s, ph);
						  })();
						</script>
					</div>
				</div>
				<div class="clear"></div>
				<div id="point_tags"  class="aef" rel="tags">{p_themes}</div>
				<ul id="point_info" class="point_info">
				  <li>Адрес <span class="aef" rel="addr">{p_addr}</span></li>
				  {p_timeframes}
				  {p_phone}
				  {p_site}
				</ul>
				<ul id="point_info2" class="point_info">
				  {p_menu}
				  {p_cards}
				  {p_wifi}
				  {p_summerplace}
				</ul>
				<div id="point_control">
				  {subscribed_block}
					<!--<a href="#" onclick="return false;"><i></i>Поделиться ссылкой </a>-->
					<a href="#" onclick="$('#write_review').click(); return false;"><i></i>Оставить отзыв</a>
				</div>
				<div class="clear"></div>
				{p_dscr}
			</div>
	    {auth}
			{comms}
		</div>
	</div>
	
	<div style="display:none;">
	  <div id="prm_point">
	    <i id="prm_point_url">{p_url}</i>
		  <i id="prm_point_weight">{p_weight}</i>
		  <i id="prm_point_votes">{p_votes}</i>
		  <i id="prm_point_plus_cnt">{p_plus_cnt}</i>
		  <i id="prm_point_you">{p_you}</i>
		  <i id="prm_point_lat">{p_lat}</i>
		  <i id="prm_point_lng">{p_lng}</i>
		  <i id="prm_loginza_token">{function:loginza_token_url}</i>
		</div>
		<div id="prm_tpl"></div>
		<div id="ans_tpl">
		  <form class="ans_form">
	      <input type="hidden" name="parent" value="" class="parent_fld">
	      <input type="hidden" name="com_id" value="" class="com_id_fld">
	      <textarea name="reveiw" class="reveiw"></textarea>
	      <div class="foot">
	        <input type="submit" onclick="send_answer( this.form ); return false;" class="submit" value="Опубликовать">
	        <a href="#" onclick="$('.relator').html(''); return false;">Отменить</a>
	        <div class="clear"></div>
	      </div>
	    </form>
		</div>
	</div>
[not_subscribed]
	<a href="#" id="subscribe" onclick="subscribe_abs(); return false;"><i></i>Подписаться на это место</a>
[subscribed]
	<a href="#" id="unsubscribe" onclick="unsubscribe_abs(); return false;"><i></i>Отписаться от комментариев</a>
[auth]
[not_auth]
		<div id="point_social">
			  <div class="head">
					Кто-кто из твоих друзей уже пользуется сервисом Vidguk.Pro, присоединяйся!
				</div>
			  <div class="content">
					<div style="background:#fff; padding: 10px 21px; height:85px;">
			      {replacer: tpl=socials.htm section=fb_facepile}
			    </div>
				</div>
			  <div class="foot">
					<script src="//ulogin.ru/js/ulogin.js"></script>

					<div id="uLogin5610ee76"
					      style="float:left; background:url(/img/socials/login_button.jpg) no-repeat; width:320px; height:31px; position:relative; color:#fff; padding:4px 0 0 8px;"
								data-ulogin="display=buttons;fields=first_name,last_name,email,bdate,sex,photo,photo_big;
					        redirect_uri=http%3A%2F%2F{function:show_domain}/ulogin?reg=true;
					        receiver=http%3A%2F%2F{function:show_domain}%2Fxd_custom.html">
					        Войти через аккаунт в
					        <a data-uloginbutton = "vkontakte" style="position:absolute; top:0; left:292px; width:36px; height:35px; cursor:pointer;" title="Вконтакте"></a>
					        <a data-uloginbutton = "google" style="position:absolute; top:0; left:255px; width:37px; height:35px; cursor:pointer;" title="Google"></a>
					        <a data-uloginbutton = "facebook" style="position:absolute; top:0; left:219px; width:35px; height:35px; cursor:pointer;" title="Facebook"></a>
					        
					        
					</div>

					<a href="/?reg=true" style="float:right; font-size:17px; color:#000; padding:7px;">Зарегистрироваться через e-mail</a>
					<div class="clear"></div>

				</div>
			</div>
[p_timeframes]
	<li>Режим <span>{p_timeframes}</span></li>
[p_site]
	<li>Сайт <span>{p_site}</span></li>
[p_dscr]
  <p class="dscr">{p_dscr}</p>
[p_phone]
	<li>Телефон <span>{p_phone}</span></li>
[p_menu]
  <li>Меню <span>{p_menu}</span></li>
[p_cards]
  <li>Кредитные карты <span>{p_cards}</span></li>
[p_wifi]
  <li>Интернет, WiFi <span>{p_wifi}</span></li>
[p_summerplace]
  <li>Летняя площадка <span>{p_summerplace}</span></li>
[empty]
	<h1>уупс...</h1>
	<p>Временные проблемы с отображением этой страницы</p>
[gallery_item]
	<a href="{photo_big}" class="fb" rel="point_gallery">
		<img src="{photo}" title="{title}" alt="{title}">
	</a>
[comm_body]
	<div id="point_comm">
	  <h3 class="label">
			Что говорят люди про
			<span class="js_point_type">{comm_p_fscat_prim}</span>
			<span class="js_point_quotes">«</span><span class="js_point_name">{comm_p_name}</span><span class="js_point_quotes">»</span>
		</h3>
		{body}
	</div>
[comm_line]
  <div class="comment" rel="{com_id}" id="com_{com_id}">
    <span class="arr"><span></span></span>
    <div class="bullet">
    	<img src="{u_img}">
    </div>
		<div class="user">
			<span class="name">{u_name}</span>
			{com_weight}
			<span class="date">{com_date}</span>
			
		  <span class="duration">на сайте <span class="from">{u_createdate}</span>.</span>
			{subscribe_user}
		</div>
		
		<div class="text">{com_text}</div>
		<div class="foot">
		  {ans_button}
		  {alarm_global_set}
		  {owner_func}
		  {com_likes_{com_id}}
		</div>
		{answer_{com_id}}
  </div>
[subscribe_user]
	<a href="#" class="subscribe u_{u_id}" id="subscribe_user" onclick="subscribe('user',{u_id}); return false;" >Подписаться на отзывы участника</a>
[unsubscribe_user]
	<a href="#" class="subscribe u_{u_id}" id="unsubscribe_user" onclick="unsubscribe('user',{u_id}); return false;">Отписаться от отзывов участника</a>
[ans_button]
  {ans_global_set}
[ans_global_set]
  <a href="#" class="fnc answer" onclick="return comm_ans(this);">Ответить</a>
[alarm_global_set]
  <a href="#" class="fnc alarm" onclick="return comm_alarm(this);">Пожаловаться</a>
[comm_owner_func]
			<a href="#" class="fnc edit" onclick="return  comm_edit(this); ">Редактировать</a>
		  <a href="#" class="fnc delete" onclick="if( confirm('Вы уверены?') ) comm_del(this); return false;">Удалить</a>
[comm_line_fs]
  <div class="comment foursquare forign" rel="{id}">
    <div class="bullet">
    	<img src="{user_photo}">
    	
    </div>
		<div class="user">
			<span class="name">{user_name}</span>
			<span class="date">{create}</span>
			коментарий из <img src="/img/fs_logo_tiny.jpg" title="из foursquare" class="fs_label">
			
		</div>
		<div class="text">
		  {text}
		</div>
		
		<div class="foot">
		  {ans_button}
		  {com_likes_{id}}
		</div>
		{answer_{id}}
  </div>
[comm_line_google]
  <div class="comment google forign" rel="{id}">
    <div class="bullet">
      <img src="{user_photo}">
    </div>
		<div class="user">
			<span class="name">{user_name}</span>
			<span class="date">{create}</span>
			коментарий из <img src="/img/ga_logo_tiny.jpg" title="из google адресов" class="ga_label">
		</div>
		<div class="text">
		  {text}
		</div>
		<div class="foot">
		  {ans_button}
		  {com_likes_{id}}
		</div>
		{answer_{id}}
  </div>
[comm_weight_plus]
<span class="recommend">рекомендует</span>
[comm_weight_minus]
<span class="not_recommend">не рекомендует</span>
[comm_answer_body]
	<div class="answers">
	  {body}
	</div>
[statistic]
	<div class="stat_block">
		<div class="arrow stat_arr">
			<span class="arr"></span>
			<div>
				<span>
     			<span class="js_point_type">{p_fscat_prim}</span>
					<span class="js_point_quotes">«</span><span class="js_point_name">{p_name}</span><span class="js_point_quotes">»</span>
					<span class="weight w{p_weight}">{pct}%</span>
				</span>
			</div>
			<span class="arr r"></span>
		</div>
		<div class="stat_info">
		  <span id="place_visited" style="display:block;">
		  	Место
				<span class="pop_form">
					<span class="pop_res" rel="посещал,посещали,посещало,еще не посещали">посещало</span>
					<span class="pop_num">{p_votes}</span>
					<span class="pop_res" rel="участник,участника,усастников,">участников</span>
				</span>
				Vidguk.pro<br>
			</span>
			<span id="ptext_many"></span>
			<span id="ptext_you"></span>
			<span id="ptext_recomend"></span>
		  <div class="stat_act" rel="stat_info">
	      <a href="#" class="plus">Я рекомендую</a>
			  <a href="#" class="minus">Я не рекомендую</a>
		  </div>
		</div>
	</div>
[com_likes]
	<a href="#" class="likes likes_{likes_cnt}" onclick="like_com(this); return false;" title="отметить коментарий как понравившийся"><i></i><span>{likes_cnt}</span></a>
[DELmany]
	Большинство
[DELmany_all]
	Все
[DELstat_youtoo]
, в том числе и вы,
[DELstat_recommend]
	его рекоммендуют
[DELstat_not_recommend]
  его не рекоммендуют
[DELone_recomend]
	Один участник Vidguk.pro рекомендует заведение.
[DELone_recomend]
	Один участник Vidguk.pro не рекомендует заведение.
[DELstatistic_empty]
	<div class="stat_block">
		<div class="arrow stat_arr">
			<span class="arr"></span>
			<div>
				<span>
					<span class="js_point_type">{p_fscat_prim}</span>
					<span class="js_point_quotes">«</span><span class="js_point_name">{p_name}</span><span class="js_point_quotes">»</span>
				</span>
			</div>
			<span class="arr r"></span>
		</div>
		<div class="stat_info">
		  Место еще не посещали участники Vidguk.pro<br>
		  Станьте первым, кто поделился своим мнением!
		  <div class="stat_act" rel="stat_info">
      	{stat_act}
		  </div>
		</div>
	</div>
[DELstat_act]
      <a href="#" class="plus">Я рекомендую</a>
		  <a href="#" class="minus">Я не рекомендую</a>
[DELstat_act_auth]
			<a class="minus" href="/?reg=true">cоздать новый аккаунт</a>
	  	<a href="http://loginza.ru/api/widget?token_url={loginza_token}&provider=facebook" class="loginza button" id="reg_type_soc">
				  вход через openID
			</a>
[mapbox]
	<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
	<script src="/js/map.js"></script>
	<div id="map_box_block"><div id="map"></div></div>

	<script>
	  $(document).ready(function(){
	    map_loader('map',$('#prm_point_lat').text(),$('#prm_point_lng').text(),false);
		});
	</script>
[FS_empty]
	<style>#map_box_block{display:none;}</style>
	<div>
	  {error}
	</div>
